package com.example.lin.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.lin.entity.pojo.Department;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class DepartmentVo {
    @ApiModelProperty("部门ID")
    private Integer id;

    @ApiModelProperty("部门名称")
    private String name;

    @ApiModelProperty("部门电话")
    private String phone;

    @ApiModelProperty("部门地址")
    private String address;

    @ApiModelProperty("部门编码")
    private String code;

    @ApiModelProperty("部门简介")
    private String description;

    @ApiModelProperty("子部门")
    private List<Department> children;

    @ApiModelProperty("是否排序")
    private Integer orderBy;

    @ApiModelProperty("是否删除(0-未删除，1-已删除)")
    private Integer deleted;
}
